<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="z" uri="/tyao-tags"%>    
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<%String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath();%>
<c:set var="webRoot" value="<%=basePath%>" />
<base href="${webRoot}/"/>

<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="resources/lib/html5shiv.js"></script>
<script type="text/javascript" src="resources/lib/respond.min.js"></script>
<![endif]-->
<link rel = "Shortcut Icon" href="resources/static/h-ui.admin/images/favicon.ico">
<link href="resources/static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="resources/static/h-ui.admin/css/H-ui.admin.css" />
<link href="resources/static/h-ui.admin/css/H-ui.login.css" rel="stylesheet" type="text/css" />
<link href="resources/static/h-ui.admin/css/style.css" rel="stylesheet" type="text/css" />
<link href="resources/lib/Hui-iconfont/1.0.8/iconfont.css" rel="stylesheet" type="text/css" />
<link href="resources/static/note/css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="resources/static/h-ui.admin/skin/default/skin.css" id="skin" />
<!--[if IE 6]>
<script type="text/javascript" src="resources/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="resources/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="resources/lib/jquery/1.9.1/jquery.form.js"></script>
<script type="text/javascript" src="resources/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="resources/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="resources/static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->

<script type="text/javascript" >

/* String.prototype.Trim = function()  
{  
return this.replace(/(^\s*)|(\s*$)/g, "");  
}; */

//格式化时间戳
function formatDate(dateTime,isShowTime){
    if(dateTime==null || dateTime==""){
        return "";
    }
    var time = new Date(dateTime);
    var reDate = "";
    reDate += time.getFullYear() + "-";
    reDate += ((time.getMonth()+1)<10?("0"+(time.getMonth()+1)):(time.getMonth()+1)) + "-";
    reDate += time.getDate()<10?("0"+time.getDate()):time.getDate();
    //显示时间
    if(isShowTime){
        reDate += " " +(time.getHours()<10?("0"+time.getHours()):time.getHours())+":";
        reDate += (time.getMinutes()<10?("0"+time.getMinutes()):time.getMinutes())+":";
        reDate += time.getSeconds()<10?("0"+time.getSeconds()):time.getSeconds();
    }
    return reDate;
}

var dojoConfig={
		packages:[{
				"name":"nanpi",
				"location":"${webRoot}/widgets"
			},{
				"name":"tyao",
				"location":"${webRoot}/plug-in/tyao/js"
			},{
				"name":"tyaomap",
				"location":"${webRoot}/jsapi/tyao"
			}]
	};
 var datatable_language22={ // 汉化
        "processing": "正在加载数据...",
        "lengthMenu": "显示_MENU_条 ",
        "zeroRecords": "没有您要搜索的内容",
        "info": "从_START_ 到 _END_ 条-共 _TOTAL_ 条",
        "infoEmpty": "记录数为0",
        "infoFiltered": "(共 _MAX_  条记录)",
        "infoPostFix": "",
        "search": "搜索",
        "url": "",
        "paginate": {
            "sFirst": "第一页",
            "sPrevious": " < ",
            "sNext": " > ",
            "sLast": " 最后一页 "
        }
    }; 

</script>


